package config;

/**
 * 程序配置类
 * 
 * @author 刘志远 2015/08/03
 *
 */
public final class AppConfig {
	
	//服务器连接地址
	public static final String WEB_SERVICE_URL = "http://182.92.191.17:8002/CoordinateService.svc";

	public static final String HANDLE_TYPE="0";
	
	//采购平台
	public static final String PLAT_BUY = "01";
	//供货平台
	public static final String PLAT_SUPPLY ="02";
	//销售平台
	public static final String PLAT_SALE = "03";
	//购货平台
	public static final String PLAT_PURCHASE ="04";
	
	//当前平台标识
	public static final String CURRENT_PLAT = PLAT_BUY;
	
	//成功返回 code
	public static final int SUCCESS = 200;
	//错误返回 code
	public static final int ERROR = 999;
	//没有权限返回 code
	public static final int NO_AUTH = 901;
	//参数异常code
	public static final int INVALID_PARAM = 998;
	//登录异常
	public static final int NO_LOGIN = 900;
	//异常
	public static final int EXCEPTION = 1000;
	
	/**
	 * 获取登录信息
	 */
	public final static String PLAT_GETCOUNTINGROOMNAME = "Plat_GetCountingRoomName";
	
	/**
	 * 登陆
	 */
	public final static String PLAT_LOGIN = "Plat_Login";
	
	/**
	 * 权限检测
	 */
	public final static String PLAT_SECURITYCHECK = "Plat_SecurityCheck";
	
	/**
	 * 应用菜单入口
	 */
	public final static String PLAT_GETMODELDETAIL = "Plat_GetModelDetail"; 
	
	/**
	 * 获取待办事项
	 */
	public final static String PLAT_GETUPCOMINGINFO = "Plat_GetUpcomingInfo";
}
